.wishlist-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

h1 {
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
}

.loading, .error, .empty-wishlist {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
}

.error {
  color: #e74c3c;
}

.empty-wishlist {
  color: #7f8c8d;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 3rem;
}

.empty-wishlist a {
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

.empty-wishlist a:hover {
  text-decoration: underline;
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wishlist-item {
  display: flex;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.wishlist-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.wishlist-details {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.wishlist-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.wishlist-price {
  font-size: 1.2rem;
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 1rem;
}

.remove-from-wishlist {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-start;
  margin-top: auto;
}

.remove-from-wishlist:hover {
  background-color: #c0392b;
}

@media (max-width: 768px) {
  .wishlist-item {
    flex-direction: column;
  }
  
  .wishlist-image {
    width: 100%;
    height: 200px;
  }
}